package com.dc.project.service;

import com.dc.project.entity.bo.UserVolcengineBo;
import com.dc.project.entity.map.UserVolcengineMapVo;
import com.dc.project.entity.po.UserVolcengine;
import com.dc.project.entity.query.UserVolcengineQuery;
import com.dc.project.entity.vo.UserVolcengineVo;
import com.own.component.common.base.service.BaseService;

/**
 * UserVolcengineService
 *
 * @author chenxueli
 * @date 2025-04-25 11:33:04
 */
public interface UserVolcengineService extends BaseService<
        UserVolcengine,
        UserVolcengineBo,
        UserVolcengineVo,
        UserVolcengineMapVo,
        UserVolcengineQuery
        > {

    /**
     * 根据用户id去获取信息
     *
     * @param userId 用户id
     * @return 用户大模型配置
     */
    UserVolcengine getPoByUserId(Long userId);

    /**
     * 根据用户id去获取信息
     *
     * @param userId 用户id
     * @return 用户大模型配置
     */
    UserVolcengineMapVo getByUserIdForCache(Long userId);

    /**
     * 根据用户id去清除缓存
     *
     * @param userId 用户id
     */
    void clearCacheByUserId(Long userId);

}

